package com.three.storemanage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.CouponCodes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 86156
* @description 针对表【tb_coupon_codes(优惠卷种类表)】的数据库操作Mapper
* @createDate 2025-03-14 09:28:49
* @Entity com.aaa.entity.CouponCodes
*/
@Mapper
public interface CouponCodesMapper extends BaseMapper<CouponCodes> {

    int deleteByPrimaryKey(Long id);

    int insert(CouponCodes record);

    int insertSelective(CouponCodes record);

    CouponCodes selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CouponCodes record);

    int updateByPrimaryKey(CouponCodes record);

    Page<CouponCodes> findCouponCodesByCondition(Page<CouponCodes> page, @Param("storeName") String storeName, @Param("userId") Integer userId);

}
